const router = require('koa-router')()
const { add, updateOne, deleteOne, findOne } = require('../controller/users')

router.prefix('/user')

router.post("/add", add)

router.get("/find/:_id",findOne )

router.put("/update", updateOne)

router.delete("/del", deleteOne)



module.exports = router
